//package com.xuecheng.content.api;
//
//import com.xuecheng.content.service.CoursePublishService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.servlet.ModelAndView;
//
///**
// * @ClassName FreeMarkerController
// * @Description TODO
// * @Author kiku
// * @Date 2024/9/21 19:10
// * @Version 1.0
// */
//@Controller
//public class FreeMarkerController {
//    @Autowired
//    private CoursePublishService coursePublishService;
//
//    @GetMapping("/testfreemarker")
//    public ModelAndView test() {
//        ModelAndView modelAndView = new ModelAndView();
//        modelAndView.addObject("model",coursePreviewInfo);
//        modelAndView.setViewName("course_template");
//
//        return modelAndView;
//    }
//
//}
